#!/bin/bash

. /etc/profile

docker run -d \
    --name ${1} \
    --restart=always \
    --privileged=true \
    -e ${5}=${ENV:-sho} \
    -p ${2}:${3} \
    -v ${PWD}/logs/:/logs \
    ${1}:${4}
